﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace University.Workshop.Model
{
    public enum AuctionState { InProcess, Canceled, Finished }
    public class Auction
    {
        public AuctionState Status { get; set; }
        public long Id { get; set; }
        public long ProductId { get; set; }
        public DateTime Date { get; set; }
        public long BidderUserId { get; set; }
        public DateTime LastBidDate { get; set; }
        public float LastBidPrice { get; set; }
        public string Currency { get; set; }
    }
}
